Skip to content

Б12-514 Рябоконь Илья#175

Open
Fork3141592 wants to merge 3 commits intoEvgrafovMichail:mainfrom
Fork3141592:work_place
Open

Б12-514 Рябоконь Илья#175
Fork3141592 wants to merge 3 commits intoEvgrafovMichail:mainfrom
Fork3141592:work_place

Conversation

@Fork3141592
Copy link
Copy Markdown

No description provided.

@Avshugan Avshugan changed the title Б12-514 Рябоконь Илья: выполненые задания 1,2,3 из lesson 3 Б12-514 Рябоконь Илья Mar 9, 2026
@Avshugan Avshugan added the 514 label Mar 9, 2026
Comment thread solutions/sem02/lesson03/task1.py Outdated
rhs: np.ndarray,
) -> np.ndarray: ...
) -> np.ndarray:
if lhs.sahpe[1] != rhs.shape[1]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Странная опечатка, с ней ничего не работает


distances = np.sqrt(abscissa ** 2 + ordinates ** 2 + applicates ** 2)
azimuth = np.arctan2(ordinates, abscissa)
inclination = np.arctan2(applicates, np.sqrt(abscissa ** 2 + ordinates ** 2))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо было (x2 + y2) ** 0.5 / z. tg = sin / cos. А вы пытаетесь ctg посчитать.

mins = (left > mid) & (mid < right)
maxes = (left < mid) & (mid > right)

min_indices = np.where(mins)[0] + 1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np.where нельзя было использовать

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants